#include "TeleportMovement.h"

void TeleportMovement::serialize(PacketWriter pw)
{
	pw.write(getType());
	pw.writeShort(getPosition().x);
	pw.writeShort(getPosition().y);
	pw.writeShort(getPixelsPerSecond().x);
	pw.writeShort(getPixelsPerSecond().y);
	pw.write(getNewstate());
}